<html>
  <head>
    <title>{{title}}</title>
    <meta content="">
    <style></style>
  </head>
<body>

    {% for greeting in greetings %}
      {% if greeting.author %}
        <b>{{ greeting.author}}</b> wrote at {{greeting.date|time:"H:i"}},{{greeting.date|date:" F j, Y"}} :
      {% else %}
       An anonymous person wrote:
      {% endif %}
      <blockquote>{{ greeting.content|escape }}</blockquote>
    {% endfor %}


	<form action="/sign" method="post">
		<p>Author :<input type="text" name="author"/></p>
		<p>Content:<textarea name="content" rows="3" cols="60"></textarea></p>
		<p><input type="submit" value="Sign Guestbook"></p>
	</form>
	<a href="/inputCSV">upload CSV</a>
	</body>

</html>
